﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Sunboxsoft.WinForm
{
    public class CheckActionNode : ActionNode
    {
        public int CheckGroupIndex{get;set;}

        public CheckActionNode(string name, string caption, Action<object, object> clickCallback)
            : base(name, caption, clickCallback)
        {
            CheckGroupIndex = 1;
        }

        public CheckActionNode(string name, Image image, string caption, Action<object, object> clickCallback)
            : base(name, image, caption, clickCallback)
        {
            CheckGroupIndex = 1;
        }

        public CheckActionNode(string name, Image image, Image largeImage, string caption, Action<object, object> clickCallback)
            : base(name, image, largeImage, caption, clickCallback)
        {
            CheckGroupIndex = 1;
        }
        public CheckActionNode(int checkGroupId, string name, string caption, Action<object, object> clickCallback)
            : base(name, caption, clickCallback)
        {
            CheckGroupIndex = checkGroupId;
        }

        public CheckActionNode(int checkGroupId, string name, Image image, string caption, Action<object, object> clickCallback)
            : base(name, image, caption, clickCallback)
        {
            CheckGroupIndex = checkGroupId;
        }

        public CheckActionNode(int checkGroupId, string name, Image image, Image largeImage, string caption, Action<object, object> clickCallback)
            : base(name, image, largeImage, caption, clickCallback)
        {
            CheckGroupIndex = checkGroupId;
        }
    }
}
